#include"list.h"


int main()
{
	/*yss::list<int> lt;
	lt.push_back(1);
	lt.push_back(2);
	lt.push_back(3);
	lt.push_back(4);
	yss::list<int>::iterator it = lt.begin();
	while (it != lt.end())
	{
		cout << *it << " ";
		++it;
	}
	cout << endl;*/

	/*yss::list<int> lt;
	lt.push_back(1);
	lt.push_back(2);
	lt.push_back(3);
	lt.push_back(4);
	cout << lt.size() << endl;
	cout << lt.empty() << endl;*/

	/*yss::list<int> lt;
	lt.push_back(11);
	lt.push_back(23);
	lt.push_back(35);
	lt.push_back(47);
	lt.push_back(87);
	lt.pop_back();
	lt.pop_back();
	for (auto e : lt)
	{
		cout << e << " ";
	}
	cout << endl;*/

	/*yss::list<int> lt;
	lt.push_back(11);
	lt.push_back(23);
	lt.push_back(35);
	lt.push_back(47);
	lt.push_back(87);
	lt.pop_front();
	for (auto e : lt)
	{
		cout << e << " ";
	}
	cout << endl;*/

	/*yss::list<int> lt;
	lt.push_back(1);
	lt.push_back(2);
	lt.push_back(3);
	lt.push_back(4);
	lt.push_back(5);
	auto pos = find(lt.begin(), lt.end(), 3);
	pos = lt.insert(pos, 100);
	for (auto e : lt)
	{
		cout << e << " ";
	}
	cout << endl;*/



	return 0;
}